package com.example.demoofimagedownloadapp.bean;

import android.graphics.Bitmap;

public class DataBean {
    private String imageSrc;
    private int imageRes;
    private String songName;
    private String songPath;

    public int id;
    //id标识
    private String title;
    // 显示名称
    private int duration;
    // 媒体播放总时间
    private String albums;
    // 专辑
    private String artist;
    // 艺术家
    private String singer;
    //歌手

    private Bitmap albumArt;
    //album image uri

    private int albumId;

    public long size;

    public DataBean () {

    }

    public DataBean (String url) {
        imageSrc = url;
    }

    public void setImageRes(int imageRes) {
        this.imageRes = imageRes;
    }

    public void setImageSrc(String imageSrc) {
        this.imageSrc = imageSrc;
    }
    public void setSongName(String songName) {
        this.songName = songName;
    }

    public void setSongPath(String songPath) {
        this.songPath = songPath;
    }

    public void setAlbums(String albums) {
        this.albums = albums;
    }

    public void setArtist(String artist) {
        this.artist = artist;
    }

    public void setDuration(int duration) {
        this.duration = duration;
    }

    public void setSinger(String singer) {
        this.singer = singer;
    }

    public void setAlbumArt(Bitmap albumArt) {
        this.albumArt = albumArt;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public void setAlbumId(int albumId) {
        this.albumId = albumId;
    }

    public int getImageRes(){
        return imageRes;
    }

    public String getImageSrc() {
        return imageSrc;
    }

    public String getSongName() {
        return songName;
    }

    public String getSongPath() {
        return songPath;
    }

    public int getDuration() {
        return duration;
    }

    public String getAlbums() {
        return albums;
    }

    public String getArtist() {
        return artist;
    }

    public String getSinger() {
        return singer;
    }

    public String getTitle() {
        return title;
    }

    public Bitmap getAlbumArt() {
        return albumArt;
    }

    public int getAlbumId() {
        return albumId;
    }
}
